<%@ page language="java" contentType="text/html; charset=UTF-8"
pageEncoding="UTF-8"%>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://"
			+ request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>${name } - HumWiki</title>
<link rel="stylesheet" type="text/css" href="<%=basePath%>css/page.css">
</head>
<body>
<jsp:include page="header.jsp"></jsp:include>
<div id="content">

<%if(request.getAttribute("haspage").equals("false")){ %>
	${name } 还未创建，<a href="<%=basePath %>page/${name }/edit">马上创建</a>
<%} %>
</div>
<jsp:include page="footer.jsp"></jsp:include>
</body>
</html>